package com.ruoyi.buss.expand.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import javax.validation.constraints.NotNull;

/**
 * 跟进拓展信息对象 DATA_CUST_EXPAND
 * 
 * @author sxy
 * @date 2021-07-16
 */
public class DataCustExpand extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 身份证 */
    @Excel(name = "身份证")
    @NotNull(message = "idCard不能为空")
    private String idCard;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 1 存量客户 2网格商户 3网格村居 4网格社区  5专业市场 */
    @Excel(name = "1 存量客户 2网格商户 3网格村居 4网格社区  5专业市场")
    private String type;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** $column.columnComment */
    @Excel(name = "联系电话")
    private String orgId;

    /** 专业市场ID */
    @Excel(name = "专业市场ID")
    private String marketId;

    /** 营销人 */
    @Excel(name = "营销人")
    private String userId;

    /** 删除标记 0正常 1已删除 */
    @Excel(name = "删除标记 0正常 1已删除")
    private String delFlag;

    private String headPic;

    private String sex;

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getHeadPic() {
        return headPic;
    }

    public void setHeadPic(String headPic) {
        this.headPic = headPic;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setOrgId(String orgId) 
    {
        this.orgId = orgId;
    }

    public String getOrgId() 
    {
        return orgId;
    }
    public void setMarketId(String marketId) 
    {
        this.marketId = marketId;
    }

    public String getMarketId() 
    {
        return marketId;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("idCard", getIdCard())
            .append("address", getAddress())
            .append("type", getType())
            .append("phone", getPhone())
            .append("orgId", getOrgId())
            .append("marketId", getMarketId())
            .append("userId", getUserId())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
